
    /********************************************************/
    /*                                                      */
    /*                                                      */
    /*         Copyright (C), 1993  SEIKO EPSON Corp.       */
    /*         ALL RIGHTS RESERVED                          */
    /*                                                      */
    /*                                                      */
    /*  file name : system.c                                */
    /*                                                      */
    /*  Revision history                                    */
    /*      93/12/17    first release       S.Akaiwa        */
    /*      97/2/20	modified	    T.Katahira	    */
    /*			change function declaration	    */
    /*					to the ANSI style   */
    /*                                                      */
    /********************************************************/

#ifdef      UNIX
#include    "stdio.h"
#include    "stdlib.h"
#else
#include    <stdio.h>
#include    <stdlib.h>
#endif

int
system(const char * sCmdP)

    /********************************************************/
    /*                                                      */
    /*  This is dummy function.                             */
    /*  If NULL pointer is specified by sCmdP, the system   */
    /*  function returns 0. Otherwise, this function        */
    /*  returns EOF.                                        */
    /*                                                      */
    /*      RETURN                                          */
    /*          [NULL pointer is specified]                 */
    /*              0       ... Command processor           */
    /*                          does not exist              */
    /*                                                      */
    /*          [NULL pointer is not specified]             */
    /*              EOF     ... Error                       */
    /*                                                      */
    /*  <ANSI>                                              */
    /*      The system function passes specified string to  */
    /*      the command processor, and executes the string  */
    /*      as system command.                              */
    /*      If NULL pointer is specified by argument, the   */
    /*      system function returns non 0 only if a command	*/
    /*      processor is available.                 		*/
    /*                                                      */
    /*      RETURN                                          */
    /*          [NULL pointer is specified]                 */
    /*              0       ... Command processor           */
    /*                          does not exist              */
    /*              Others  ... Command processor exist     */
    /*                                                      */
    /*          [NULL pointer is not specified]             */
    /*              Return value from command processor     */
    /*                                                      */
    /********************************************************/

    /* const char * sCmdP      ;          pointer to string */
    {

     if(sCmdP == NULL){        /* NULL pointer is specified */
       return (int)0;   /* command processor does not exist */
     }
     else{
        return (int)EOF;                    /* error return */
     }  
    }


